#ifndef LINE_CONTROLLER_H
#define LINE_CONTROLLER_H
#include "controller.h"
#include "statusbar.h"
#include "cppvi.h"

class LineController: public Controller
{
private:
	char *cmd;
	int length;
	int index(const char *);
public:
	LineController(Console *console);
	~LineController();

	/// Override the super method
	bool processMessage(chtype message);
	int getMode() const;
};

#endif//LINE_CONTROLLER_H
